

#include <config.h>
#include <klib.h>

#ifndef __VIDEO_H
#  define __VIDEO_H

/* Some internal functions */
void _vid_printc(uint16, uint8, uint8);
void _vid_mov_lines_up();
void _vid_move_cursor();

/* This is what should be used by things actually printing. */
void vid_clear();
void vid_set_color(uint8);
void vid_reset();
void vid_set_offset(uint16);
void vid_printc(uint8);
void vid_printstr(char *);
void vid_println(char *);

/* Our colors are... */
#  define COL_BLACK           0x00
#  define COL_BLUE            0x01
#  define COL_GREEN           0x02
#  define COL_CYAN            0x03
#  define COL_RED             0x04
#  define COL_MAGENTA         0x05
#  define COL_BROWN           0x06
#  define COL_GRAY            0x07
#  define COL_DARK_GRAY       0x08
#  define COL_BRIGHT_BLUE     0x09
#  define COL_BRIGHT_GREEN    0x0a
#  define COL_BRIGHT_CYAN     0x0b
#  define COL_PINK            0x0c
#  define COL_BRIGHT_MAGENTA  0x0d
#  define COL_YELLOW          0x0e
#  define COL_WHILE           0x0f

#endif
